package cn.wolfcode.service;

import cn.wolfcode.domain.Employee;
import cn.wolfcode.qo.PageResult;
import cn.wolfcode.qo.QueryObject;

import java.util.List;

/**
 * @author L5775
 */
public interface IEmployeeService {

    void save(Employee employee, Long[] ids);

    void delete(Long id);
    void update(Employee employee, Long[] ids);

    Employee get(Long id);
    List<Employee> listAll();

    //分页查询的方法
    PageResult<Employee> query(QueryObject qo);


    Employee login(String username, String password);
}
